#pragma once

class CCommonMinVerPrompt
{
public: 
	CCommonMinVerPrompt(struct IXcpHostSite * pControl, XCHAR * pszVersion);
	HRESULT GetXaml(struct IPlatformUtilities * pUtil, struct IXcpBrowserHost * pBH, XBOOL uAllowedWidth, XBOOL uAllowedHeight, XINT32 * cchXaml, XCHAR * * wszXaml);
	void ReportError();
	static HRESULT GetUpgradeLink(XUINT16 *, XUINT16 *);
protected: 
	XCHAR * m_pszVersion;
	XINT32 m_fIsFirstUpgrade;
	XINT32 m_fIsFirstRestart;
	struct IXcpHostSite * m_pControl;
};